#ifndef AREACHARTGUI_H
#define AREACHARTGUI_H

#include <QDialog>
#include <QColorDialog>
#include "ui_AreaChartGUI.h"

namespace LightChart
{
    class AreaChartGUI : public QDialog, protected Ui_AreaChartGUI
    {
	Q_OBJECT
	public:
	AreaChartGUI(QWidget* parent);
	const QColor& get_color() const { return color; }
	private slots:
	void onButtonBgColorClicked();
	void onButtonCancelClicked();
	void onButtonSaveClicked();
	private:
	void setupConnections();
	QColor color;
	signals:
	void refreshCharts();
    };
}

#endif // AREACHARTGUI_H
